package lumis.portal.sendmail;

import lumis.portal.stability.StableMinor;

/**
 * Specifies a destination of a mail.
 * @see ISendMailManager#createMailDestination()
 * @since 4.0.4
 * @version $Revision: 13082 $ $Date: 2011-05-27 16:03:12 -0300 (Fri, 27 May 2011) $
 */
@StableMinor(version = "6.0", sinceVersion = "4.0")
public interface IMailDestination extends IMailSendStatus
{
	/**
	 * Returns the mail address of this destination.
	 * @return the mail address of this destination.
	 * @since 4.0.4
	 */
	public String getEmailAddress();

	/**
	 * Sets the mail address of this destination.
	 * @param email the mail address value to set.
	 * @since 4.0.4
	 */
	public void setEmailAddress(String email);

	/**
	 * Returns a unique identifier for this destination.
	 * @return a unique identifier for this destination.
	 * @since 4.0.4
	 */
	public String getId();

	/**
	 * Return the name of this destination.
	 * @return the name of this destination.
	 * @since 4.0.4
	 */
	public String getName();

	/**
	 * Sets the name of this destination.
	 * @param name the name value to set.
	 * @since 4.0.4
	 */
	public void setName(String name);
}